MS=SLAVE, B_CLOCK_INV=RISING_EDGE_RX, WORD_LEN=BIT_LEN8, I2S_MODE=LEFT_JUSTIFIED, CH_NR=CH_NUM1, WS_PULSE=SCK_PERIOD, CH_LEN=BIT_LEN8
Receiver control
B_CLOCK_INV | Serial data capture is delayed by 0.5 SCK cycles. This bit is valid only in RX master mode. When set to ‘1’, the serial data will be captured 0.5 SCK cycles later than when set to ‘0’.
(Note that this is only the appearance w.r.t. SCK edge, the actual capture timing is derived from an internal clock that runs 8x the SCK frequency). The word sync (RX_WS) signal is not affected by this bit setting. Note: When Slave mode, must be ‘0’. (Note: This bit is connected to AR38U12.TX_CFG.RX_BCLKINV) 0 (RISING_EDGE_RX): SDI received at SCK rising edge when RX_CTL.SCKO_POL=0 1 (FALLING_EDGE_RX): SDI received at SCK falling edge when RX_CTL.SCKO_POL=0 |
CH_NR | Specifies number of channels per frame: Note: only ‘2channels’ is supported during Left Justfied or I2S mode. Hence software must set ‘1’ to this field in the modes. (Note: These bits are connected to AR38U12.RX_CFG.RX_CHSET) 0 (CH_NUM1): 1 channel 1 (CH_NUM2): 2 channels 2 (CH_NUM3): 3 channels 3 (CH_NUM4): 4 channels 4 (CH_NUM5): 5 channels 5 (CH_NUM6): 6 channels 6 (CH_NUM7): 7 channels 7 (CH_NUM8): 8 channels |
MS | Set interface in master or slave mode: (Note: This bit is connected to AR38U12.TX_CFG.RX_MS) 0 (SLAVE): Slave 1 (MASTER): Master |
I2S_MODE | Select I2S, left-justified or TDM: (Note: These bits are connected to AR38U12.RX_CFG.RX_I2S_MODE) 0 (LEFT_JUSTIFIED): Left Justified 1 (I2S): I2S mode 2 (TDM_A): TDM mode A, the 1st Channel align to WSO Rising Edge 3 (TDM_B): TDM mode B, the 1st Channel align to WSO Rising edge with1 SCK Delay |
WS_PULSE | Set WS pulse width in TDM mode: (Note: This bit is connected to AR38U12.RX_CFG.RX_WS_PULSE) Note: When not TDM mode, must be ‘1’. 0 (SCK_PERIOD): Pulse width is 1 SCK period 1 (CH_LENGTH): Pulse width is 1 channel length |
WD_EN | Set watchdog for ‘rx_ws_in’ ‘0’: Disabled. ‘1’: Enabled. |
CH_LEN | Channel length in number of bits: Note:
0 (BIT_LEN8): 8-bit 1 (BIT_LEN16): 16-bit 2 (BIT_LEN18): 18-bit 3 (BIT_LEN20): 20-bit 4 (BIT_LEN24): 24-bit 5 (BIT_LEN32): 32-bit |
WORD_LEN | Word length in number of bits: Note:
0 (BIT_LEN8): 8-bit 1 (BIT_LEN16): 16-bit 2 (BIT_LEN18): 18-bit 3 (BIT_LEN20): 20-bit 4 (BIT_LEN24): 24-bit 5 (BIT_LEN32): 32-bit |
BIT_EXTENSION | When reception word length is shorter than the word length of RX_FIFO_RD, extension mode of upper bit should be set. ‘0’: Extended by ‘0’ ‘1’: Extended by sign bit (if MSB word is ‘1’, then it is extended by ‘1’, if MSB is ‘0’ then it is extended by ‘0’) |
SCKO_POL | RX master bit clock polarity. When this bit is 1, the outgoing rx_sck signal is inverted after it has been transmitted from the I2S receiver core. This bit does not affect the internal serial data capture timing. The word sync (RX_WS) signal is not affected by this bit setting.See RX_CTL.B_CLOCK_INV for more details. |
SCKI_POL | RX slave bit clock polarity. When this bit is 1, the incoming rx_sck signal is inverted before it is received by the I2S receiver core. This bit does not affect the internal serial data capture timing. The word sync (RX_WS) signal is not affected by this bit setting. ‘0’: When receiver is in slave mode, serial data is sampled on the rising bit clock edge ‘1’: When receiver is in slave mode, serial data is sampled on the falling bit clock edge |